<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>BlazorStrap V5</title>
    <base href="/VNext/" />
    <link href="_content/BlazorStrap.V4/offcanvas.css" rel="stylesheet" /><!-- This is only included for V4 demo not needed in V5-->
    <link href="_content/BlazorStrap.Extensions.TreeView/css/style.css" rel="stylesheet" />
    <link href="css/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="css/loader.css" rel="stylesheet">
    <link href="BlazorStrap.WASM.styles.css" rel="stylesheet">
    <link href="css/docs.css" rel="stylesheet" />
    <script type="text/javascript">
        // Single Page Apps for GitHub Pages
        // https://github.com/rafrex/spa-github-pages
        // Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
        // ----------------------------------------------------------------------
        // This script checks to see if a redirect is present in the query string
        // and converts it back into the correct url and adds it to the
        // browser's history using window.history.replaceState(...),
        // which won't cause the browser to attempt to load the new url.
        // When the single page app is loaded further down in this file,
        // the correct url will be waiting in the browser's history for
        // the single page app to route accordingly.
        (function (l) {
            if (l.search) {
                var q = {};
                l.search.slice(1).split('&').forEach(function (v) {
                    var a = v.split('=');
                    q[a[0]] = a.slice(1).join('=').replace(/~and~/g, '&');
                });
                if (q.p !== undefined) {
                    window.history.replaceState(null, null,
                        l.pathname.slice(0, -1) + (q.p || '') +
                        (q.q ? ('?' + q.q) : '') +
                        l.hash
                    );
                }
            }
        }(window.location))
    </script>
</head>

<body>
    <app>
        <div class="loader-backdrop">
            <div class="spinner-border text-light loader-wrapper" role="status">
                <span class="visually-hidden">Loading...</span>
            </div>
            <img src="logo5.svg" class="loader-logo">
            <nav class="fixed-bottom navbar-light bg-light text-center p-1" id="fail" style="display: none;">
                Loading is taking longer then expect. If your not on a slower connection please continue to wait. Other
                wise <a href="javascript:refresh();">refresh.</a>
            </nav>
        </div>
        <script type="text/javascript">
            setTimeout(function () {
                try {
                document.getElementById("fail").style.display = "block";
                } catch{}
            }, 60000);
            function refresh() {
                location.reload(true);
            }
        </script>
    </app>
    <script src="_content/BlazorStrap/popper.min.js"></script>
    <script src="_framework/blazor.webassembly.js" autostart="false"></script>
    <script src="_content/BlazorStrap/blazorstrap.js"></script>
    <script type="module">
        import { BrotliDecode } from './decode.min.js';
        Blazor.start({
            loadBootResource: function (type, name, defaultUri, integrity) {
                if (type !== 'dotnetjs' && location.hostname !== 'localhost') {
                    return (async function () {
                        const response = await fetch(defaultUri + '.br', { cache: 'no-cache' });
                        if (!response.ok) {
                            throw new Error(response.statusText);
                        }
                        const originalResponseBuffer = await response.arrayBuffer();
                        const originalResponseArray = new Int8Array(originalResponseBuffer);
                        const decompressedResponseArray = BrotliDecode(originalResponseArray);
                        const contentType = type ===
                            'dotnetwasm' ? 'application/wasm' : 'application/octet-stream';
                        return new Response(decompressedResponseArray,
                            { headers: { 'content-type': contentType } });
                    })();
                }
            }
        });
    </script>
</body>

</html>
